import {messages} from "share/common";
import React,{Component} from 'react';
import {Tabs} from 'antd';
import BookingManager from 'containers/booking-management/booking-manager';
import BookingManagerView from 'containers/booking-management/booking-manager-view';
import 'styles/booking-management/booking-manager-tab.scss';

const TabPane = Tabs.TabPane;

class BookingManagerTab extends Component{


  constructor(props){

    super(props);
    this.state = {

    }
  }


  render(){

    return (
      <div className='booking-manager-tab-box'>
        <Tabs>
          <TabPane tab={messages('supplier-2.key81')/*任务分配*/} key='task'>
            <BookingManager />
          </TabPane>
          <TabPane tab={messages('supplier-2.key82')/*全局查看*/} key='checkView'>
            <BookingManagerView />
          </TabPane>
        </Tabs>
      </div>
    )
  }
}


export default BookingManagerTab;
